package com.qf.service;

import com.github.pagehelper.PageInfo;
import com.qf.bean.Menu;
import com.qf.bean.Role;

import java.util.List;

public interface RoleService {
public PageInfo<Menu>findmenus(int pageIndex, int pagesize, String title, String deptname, int status);

    public List<Role>findbyDeptid(int did);

    int deleteByPrimaryKey(Integer roleid);

    int insert(Role record,int[] mid);

    int insertSelective(Role record);

    Role selectByPrimaryKey(Integer roleid);

    int updateByPrimaryKeySelective(Role record);

    int updateByPrimaryKey(Role record);
}